
package com.baiytfp.hf.HFDataExchange.common.qzjdwebservice;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;


/**
 * <p>entrustDataResponse complex type�� Java �ࡣ
 * 
 * <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
 * 
 * <pre>
 * &lt;complexType name="entrustDataResponse">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="entrust" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
 *         &lt;element name="entrusts" type="{http://entrustment.gz.gov.cn}wsEntrustDocument" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="instruments" type="{http://entrustment.gz.gov.cn}wsApplyInstrumentInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="msg" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="result" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "entrustDataResponse", propOrder = {
    "entrust",
    "entrusts",
    "instruments",
    "msg",
    "result"
})
public class EntrustDataResponse {

    protected Object entrust;
    @XmlElement(nillable = true)
    protected List<WsEntrustDocument> entrusts;
    @XmlElement(nillable = true)
    protected List<WsApplyInstrumentInfo> instruments;
    protected String msg;
    protected String result;

    /**
     * ��ȡentrust���Ե�ֵ��
     * 
     * @return
     *     possible object is
     *     {@link Object }
     *     
     */
    public Object getEntrust() {
        return entrust;
    }

    /**
     * ����entrust���Ե�ֵ��
     * 
     * @param value
     *     allowed object is
     *     {@link Object }
     *     
     */
    public void setEntrust(Object value) {
        this.entrust = value;
    }

    /**
     * Gets the value of the entrusts property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the entrusts property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getEntrusts().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link WsEntrustDocument }
     * 
     * 
     */
    public List<WsEntrustDocument> getEntrusts() {
        if (entrusts == null) {
            entrusts = new ArrayList<WsEntrustDocument>();
        }
        return this.entrusts;
    }

    /**
     * Gets the value of the instruments property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the instruments property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getInstruments().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link WsApplyInstrumentInfo }
     * 
     * 
     */
    public List<WsApplyInstrumentInfo> getInstruments() {
        if (instruments == null) {
            instruments = new ArrayList<WsApplyInstrumentInfo>();
        }
        return this.instruments;
    }

    /**
     * ��ȡmsg���Ե�ֵ��
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMsg() {
        return msg;
    }

    /**
     * ����msg���Ե�ֵ��
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMsg(String value) {
        this.msg = value;
    }

    /**
     * ��ȡresult���Ե�ֵ��
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getResult() {
        return result;
    }

    /**
     * ����result���Ե�ֵ��
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setResult(String value) {
        this.result = value;
    }

    @Override
    public String toString() {
        return "EntrustDataResponse{" +
                "entrust=" + entrust +
                ", entrusts=" + entrusts +
                ", instruments=" + instruments +
                ", msg='" + msg + '\'' +
                ", result='" + result + '\'' +
                '}';
    }
}
